package com.zblog.yuhang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ContactController {

	@GetMapping
	@RequestMapping("/contact")
	public ModelAndView showAbout(Model model){
		model.addAttribute("title", "Contact");
		return new ModelAndView("contact", "model", model);
	}
	
}
